The APL publishing system consists of two parts, the APL front end and the LATEX document style option apl.sty which communicate via a carefully designed interface of TEX macros (see Figure ). This ensures that both parts of the system can be modified independently.
Each of these modules is composed of two layers (see Table ).
The main task of the low level formatting layer
is the printing of single APL symbols. The APL front
end maps each symbol into a TEX macro name and produces files to
be
\input
into LATEX documents. The LATEX style option
apl.sty contains one macro definition for each APL character.
APL code is more than just a stream of APL symbols. The high level formatting layer knows about functions, operators, arrays, and expressions. Our APL front end provides special functions for typesetting these objects. The LATEX style option defines the corresponding environments.
|